package com.gyp.vo.base;

import lombok.Data;

import java.util.List;

@Data
public class UserInfoVO {

    private UserInfoDetail user;

    private List<String> roles;

    private List<String> permissions;

    @Data
    public static class UserInfoDetail {

        private Integer userId;

        /**
         * 用户账号
         */
        private String username;

        /**
         * 用户昵称
         */
        private String realName;

        /**
         * 用户邮箱
         */
        private String email;

        /**
         * 手机号码
         */
        private String phone;


    }


}
